package cn.com.wxd.service.scheduledtask;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import cn.com.wxd.biz.website.WebsiteCache;
import cn.com.wxd.common.DateUtil;

/**
 * Title:缓存定时刷新服务
 * Description:cn.com.wxd.service.scheduledtask
 * 
 * Company: Amumu管理平台
 * Copyright: Copyright (c) 2015
 * All right reserved.
 * Created time: 2016-5-27 下午4:05:54
 *
 * @author WangXuDong
 * @version 1.0
 */
public class CacheRefreshTask {
	private static final Logger log = LoggerFactory.getLogger(CacheRefreshTask.class);
	/**
	 * 缓存刷新
	 */
	public void websiteCache() {
		WebsiteCache.refreshAllCache();
        log.info("时间:"+DateUtil.getDatetimeStr()+"网站缓存数据更新成功!");
	}
}
